Skip to content

chore: streamline build, release, and install setup#10

Merged
urmzd merged 6 commits intomainfrom
chore/build-and-release-setup
Mar 29, 2026
Merged

chore: streamline build, release, and install setup#10
urmzd merged 6 commits intomainfrom
chore/build-and-release-setup

Conversation

@urmzd
Copy link
Copy Markdown
Owner

@urmzd urmzd commented Mar 29, 2026

Summary

  • Add cross-platform binary release workflow (GitHub Actions) and install script
  • Simplify justfile to core commands, removing redundant wrappers
  • Migrate git hooks to sr management and remove obsolete scripts (latex, old hooks)
  • Update documentation (README, CONTRIBUTING, AGENTS.md) for simplified setup

Test plan

  • Verify release.yml workflow triggers correctly on new tags
  • Test install.sh on Linux and macOS
  • Confirm just commands work as expected

urmzd added 6 commits March 29, 2026 00:16
Move git hooks from scripts/ to .githooks/ directory managed by sr. Configure commit-msg, pre-commit (format + lint), and pre-push (test) hooks in sr.yaml for consistency and maintainability.
Remove scripts/compile_latex.sh which is no longer used by the project.
Add binaries job to release workflow to automatically build and upload prebuilt binaries for x86_64 and aarch64 on Linux and macOS. Export tag from release job outputs for use in downstream jobs.
Remove complex just recipes and rely on direct cargo commands. Keep only install, build, test, and fmt. This reduces dependency on task runner and makes commands more transparent to users.
Add install.sh script to download and install prebuilt binaries from GitHub releases. Supports Linux and macOS with x86_64 and aarch64 architectures, automating binary discovery and installation.
Remove references to just task runner and update examples to use direct cargo and lgp commands. Simplify setup instructions to focus on cargo install and remove obsolete manual hooks setup documentation.
@urmzd urmzd merged commit 12ae207 into main Mar 29, 2026
2 checks passed
@urmzd urmzd deleted the chore/build-and-release-setup branch March 29, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant